package com.itlong.cloud.POJO.PO;

import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * <desc>
 *
 * </desc>
 *
 * @createDate2019/12/11
 **/
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ItlTables("device_white_list_info")
public class DeviceWhiteListInfoPO extends BasePO implements Serializable {

    @ItlField(value = "white_list_id",logicKey = "key")
    private String whiteListId;     //设备白名单id

    @ItlField("api_key")
    private String apiKey;          //apikey

    @ItlField("api_secret")
    private String apiSecret;       //apiSecret

    @ItlField("mac_address")
    private String macAddress;      //mac地址

    @ItlField("create_user_id")
    private String createUserId;    //创建人id

    @ItlField("operate_user_id")
    private String operateUserId;    //操作人id

    @ItlField("device_type")
    private Integer deviceType;     //设备类型 1人脸识别云对讲门禁 2人脸识别仪 3一体式人脸识别门禁

    @ItlField("remark")
    private String remark;          //备注

    @ItlField("activate_status")
    private Integer activateStatus; //激活状态 0未激活 1已激活

    @ItlField("activate_time")
    private String activateTime;   //激活时间

    @ItlField("auth_file_name")
    private String authFileName;    //激活文件名称

    @ItlField("exception_flag")
    private Integer exceptionFlag;  //设备异常标记 1正常 2异常

    @ItlField("change_flag")
    private Integer changeFlag;     //是否转换为设备白名单 1已转换 2未转换

    @ItlField("request_times")
    private Integer requestTimes;   //请求次数

    @ItlField("last_upload_time")
    private Date lastUploadTime;    //最后上传时间
}
